package com.itheima.test11;

/**
 * @Author:gy
 * @Date: 2025/09/01 16:04
 * @Description:
 */
public class Demo1 {
    public static void main(String[] args) {
        MyRunable myRunable = new MyRunable();
        Thread t1 = new Thread(myRunable);
        Thread t2 = new Thread(myRunable);
        t1.setName("窗口一");
        t2.setName("窗口二");
        t1.start();
        t2.start();
    }
}
